home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 26
/
Cream of the Crop 26.iso
/
program
/
qlib205.zip
/
QLIB.ZIP
/
TEST
/
TIMETEST.C
< prev
next >
Wrap
C/C++ Source or Header
|
1997-03-31
|
332b
|
22 lines
#include <qlib.h>
#include <time.h>
#include <stdio.h>
#include <conio.h>
#include <dos.h>
void main(void) {
dword a;
struct time t;
struct date d;
while (!kbhit()) {
_time(&a);
printf("%12d %d\n",clock(),a);
getdate(&d);
gettime(&t);
printf("%t%t %d\n",dostounix(&d,&t));
}
}